// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/css/reset.css' //main.js与./assets为兄弟关系,同级引入,实现全局公用
import './assets/js/rem.js'//REM自适应JS
import store from '@/vuex/store'
import VueTouch from 'vue-touch'

Vue.config.productionTip = false
global.API_PROXY = 'https://bird.ioliu.cn/v1/?url='
Vue.use(VueTouch, {name: 'v-touch'})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router, 
  store, //vuex调用
  template: '<App/>',
  components: { App } 
})
